<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  mounted () {
    document.querySelector('#all_loading').style.display = 'none'
  },
  methods: {}
}
</script>
<style lang="less">
@import './assets/css/base.css';

.paddTop {
  padding-top: 44px !important;
}

.paddBot {
  padding-bottom: 45px !important;
}

.main_body {
  margin-top: 88px;
}

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  width: 100%;
  color: #2c3e50;
  overflow-y: auto;
  background-color: #ececec;
}

.pdbottom {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

/* 可以设置不同的进入和离开动画 */
/* 设置持续时间和动画函数 */
.slide-fade-enter-active {
  transition: all 0.3s ease;
}

.slide-fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter,
.slide-fade-leave-to {
  transform: translateX(10px);
}

.ios-select-widget-box header.iosselect-header .close,
.ios-select-widget-box header.iosselect-header .sure {
  color: #26a2ff;
}

body .ios-select-widget-box.olay {
  background: rgba(0, 0, 0, 0.5);
}

body .ios-select-widget-box header.iosselect-header {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
}

.swiper-container {
  height: 100%;
}

#app .swiper-pagination-bullet {
  height: 3px;
  border-radius: 3px;
  width: 18px;
  background: #333;
  opacity: 0.3;
}

#app .swiper-pagination-bullet-active {
  background: #fff;
}

#app .swiper-pagination {
  bottom: 3px;
}

@supports (bottom: env(safe-area-inset-bottom)) {
  .dfooter {
    margin-bottom: env(safe-area-inset-bottom);
  }
}

.turn-on-enter {
  transform: translate3d(100%, 0, 0);
}

.turn-on-enter-active,
.turn-on-leave-active {
  transition: transform 0.4s ease;
}

.turn-off-leave-to {
  transform: translate3d(100%, 0, 0);
}

.turn-off-enter-active,
.turn-off-leave-active {
  transition: transform 0.4s ease;
}

.turn-off-leave-active {
  z-index: 2;
}</style>
